;--------------------------------------
;
; msinit.asm
;
; check for & initialize mouse driver
;  
;

;--------------------------------------
;
; include all defines, macros, 
; prototypes and set up memory model
;

include tab6.inc

;--------------------------------------
;
; Declare Code segment
;

        .CODE


msInit PROC PASCAL PUBLIC
        xor     ax,ax
        int     33h
        cmp     ax,0
        je      nomouse
        mov     ax,bx
        mov     return_value,ax
        ret
nomouse:
        mov     AX,0ffffh
        mov     return_value,ax
        ret

msInit  ENDP

        END

;
;--------------------------------------

